package cn.fangline.wo.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 城市表
 * </p>
 *
 * @author 抽离
 * @since 2017-04-21
 */
public class City extends Model<City> {

    private static final long serialVersionUID = 1L;

    /**
     * 城市编号
     */
	@TableId(value="city_id", type= IdType.AUTO)
	private Integer cityId;
    /**
     * 城市名称
     */
	@TableField("city_name")
	private String cityName;
    /**
     * 所属省份
     */
	private String province;

	private String remark;


	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getCityId() {
		return cityId;
	}

	public void setCityId(Integer cityId) {
		this.cityId = cityId;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	@Override
	protected Serializable pkVal() {
		return this.cityId;
	}

}
